<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<jsp:include page="../include/header.jsp" />
<jsp:include page="../include/navigation.jsp" />

<!-- <h2>My Collection</h2> -->
	
<div id="sideBar">
	<jsp:include page="inc_side.jsp" />
</div>
<div id="content">
	
	<div id="movieResults" class="result">
		<c:choose>
			<c:when test="${empty collection && empty search}">
				<p>Currently no media in your collection, 
				click <a href="${baseUrl}/findmovie">here to start adding</a>!</p>
			</c:when>
			<c:when test="${empty collection && !empty search}">
				<p>No media found for &quot;${search}&quot;</p>
			</c:when>
			<c:otherwise>
				<jsp:include page="inc_movieresults.jsp" />
			</c:otherwise>
		</c:choose>
	</div>
</div>

<jsp:include page="../include/footer.jsp" />